package com.fowo.api.model.logistics.channel.freight;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 物流渠道运费规则 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class LogisticsChannelFreightImportPo {

  /** 所属物流渠道 */
  @ExcelProperty("所属物流渠道")
  @Size(max = 50, message = "所属物流渠道长度不能超过50")
  private String parentLogisticsChannelName;

  @ExcelIgnore
  @Schema(title = "所属物流渠道")
  private String parentLogisticsChannel;

  /** 地区 */
  @ExcelProperty("地区")
  @Size(max = 50, message = "地区长度不能超过50")
  private String area;

  /** 12kg+ */
  @ExcelProperty("12kg+")
  @Size(max = 50, message = "12kg+长度不能超过50")
  private String kg12;

  /** 12kg+币种 */
  @ExcelProperty("12kg+币种")
  private String kg12Currency;

  /** 21kg+ */
  @ExcelProperty("21kg+")
  @Size(max = 50, message = "21kg+长度不能超过50")
  private String kg21;

  /** 21kg+币种 */
  @ExcelProperty("21kg+币种")
  private String kg21Currency;

  /** 71kg+ */
  @ExcelProperty("71kg+")
  @Size(max = 50, message = "71kg+长度不能超过50")
  private String kg71;

  /** 71kg+币种 */
  @ExcelProperty("71kg+币种")
  private String kg71Currency;
}
